FHIRFLARE FSH Converter – Quick Start Guide
Hosted at: https://flare.fhirlab.net
Audience: Implementation Guide authors and FHIR developers
1. Accessing the FSH Converter
- Open your browser and go to: https://flare.fhirlab.net
- Navigate to the FSH Converter section from the main menu.
- No installation required — conversion runs entirely in your browser.
2. What is FSH?
FHIR Shorthand (FSH) is a domain-specific language for defining FHIR Implementation Guides:
- Simpler, more concise syntax than raw FHIR JSON/XML
- Human-readable and writable
- Designed for creating and maintaining Implementation Guides
- Compiled to FHIR artifacts using SUSHI
Learn more about FSH: Visit the FSH School website for comprehensive documentation, tutorials, and examples. The FSH Quick Reference is also an excellent resource for syntax details.
3. Converting FHIR Resources to FSH
Steps
- Navigate to the FSH Converter section.
- Upload one or more FHIR resource files (JSON or XML).
- Configure conversion options:
- Output style (flat or grouped)
- Include metadata
- Use alias file
- Click Convert.
- Review the generated FSH in the preview pane.
- Download the generated
.fsh
files for use with SUSHI.
Powered by the integrated GoFSH engine for accurate FSH generation.
4. Advanced Configuration Options
Available Options
- Flatten FSH: Generates a single FSH file regardless of input size
- Include Metadata: Adds helpful comments and metadata to the FSH output
- Use Alias File: Generates a separate aliases.fsh file with common references
- Include Code Systems: Includes CodeSystem definitions in the output
Best Practices
- For smaller resources, use flattened mode for easier reading
- For complex resources, use grouped mode to organize by resource type
- Always include metadata for better documentation
- Use alias files when working with multiple interdependent resources